/*******************************************************************************
 * Copyright 2011 Towee.net
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *******************************************************************************/
package net.towee.model.account;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Set of Towee privileges
 * @author viiv.c58@gmail.com (Artem Artem'ev)
 */
public enum AccountPermission implements IsSerializable {
	CAN_CHANGE_ACCOUNT_GROUP, // User can modify accounts in some group(change role, etc)
	
	CAN_CHANGE_GROUP_PROFILE,
	CAN_PROCESS_ENTER_REQUESTS,
	CAN_KICK_USERS,
	CAN_CHANGE_ROLES,
	CAN_CHANGE_TEST_QUEST,
	
	CAN_REMOVE_OTHER_MESSAGES,
	CAN_CHANGE_OTHER_MESSAGES,
	CAN_ADD_MESSAGES,
	
	CAN_CHANGE_OTHER_DOCUMENT,
	CAN_ADD_DOCUMENT,
	
	CAN_PUT_TO_TRASH,
	CAN_REMOVE_NODE, 
	CAN_MOVE_NODES, 
	CAN_RENAME_NODES, 
}
